package com.xuecheng.api.media.model.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 直播课程
 * </p>
 *
 * @author itcast
 */
@Data
@ApiModel(value="LiveCourseDTO", description="直播课程")
public class LiveCourseDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "推流地址")
    private String pushUrl;

    @ApiModelProperty(value = "播放地址")
    private String playUrl;

    private Long companyId;

    private String companyName;

    @ApiModelProperty(value = "课程计划标识")
    private Long teachplanId;

    @ApiModelProperty(value = "课程标识")
    private Long courseId;

    private Long coursePubId;

    @ApiModelProperty(value = "直播人")
    private String username;

    private LocalDateTime createDate;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程章节名称")
    private String teachplanName;

    @ApiModelProperty(value = "直播开始时间")
    private LocalDateTime liveStart;

    @ApiModelProperty(value = "直播结束时间")
    private LocalDateTime liveEnd;

    @ApiModelProperty(value = "是否支持试学或预览")
    private String isPreview;


}
